package com.chushouya.order.dto.admin.order;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * 更新订单产品信息DTO
 * 
 * @author chushouya
 */
@Data
@ApiModel("更新订单产品信息DTO")
public class UpdateOrderProductDTO {

    /**
     * 订单ID
     */
    @ApiModelProperty(value = "订单ID", required = true)
    @NotNull(message = "订单ID不能为空")
    private Long orderId;

    /**
     * 产品ID
     */
    @ApiModelProperty(value = "产品ID", required = true)
    @NotNull(message = "产品ID不能为空")
    private Long productId;

    /**
     * 产品名称
     */
    @ApiModelProperty(value = "产品名称")
    private String productName;

    /**
     * 产品图片
     */
    @ApiModelProperty(value = "产品图片")
    private String productImage;
}
